package com.eh.decorator.condiment;

import com.eh.decorator.beverage.Beverage;

/**
 * Created by David on 2016/4/24.
 */
public abstract class CondimentDecorator extends Beverage {
    protected Beverage beverage;

    @Override
    public String getDescription() {
        return String.format("%s, %s", beverage.getDescription(), getCondimentDescription());
    }

    protected abstract String getCondimentDescription();
}
